package com.zone.infrastructure.persistent.dao;

import com.zone.infrastructure.persistent.po.Strategy;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: zongzi
 * @description: TODO
 * @date: 2024/5/20
 */
@Mapper
public interface IStrategyDao {

    /**
     * 查询策略
     *
     * @return
     */
    List<Strategy> queryStrategyList();

    /**
     * 查询策略
     *
     * @param strategyId 策略id
     * @return 策略表对象
     */
    Strategy getStrategy(Long strategyId);
}
